package com.jisu.controller;


import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/car")
@RefreshScope
public class CarController {
    @GetMapping("/getCarInfo")
    public String getCarInfo(@RequestParam("carNo")  String carNo)
    {
        return "这是车辆信息，车辆号："+carNo;
    }
}
